Release 10.1A: OpenEdge Development:
Progress 4GL Reference
GET-TEXT-WIDTH-CHARS( ) method
Returns the width, in character units, of the string using the specified font. If no font is specified, the method calculates the width of the string using the default font.
Return type: DECIMAL Applies to: FONT-TABLE system handle
stringA character-string expression whose width you want to determine.
fontAn integer expression that specifies an entry within the font table.
If you pass the Unknown value (
?) to this method, Progress uses the system default font. When a field-level widget inherits its font from the parent frame, Progress returns the Unknown value (?) for the font and you must use the font of the parent frame.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |